import { stringify } from 'qs';
import {request} from '../utils/request';



//获取数据字典--------------------------------------------------------------------
export async function queryDictionaries(params) {
  return request('/common/dictionary/all', {
    method: 'POST',
    body: params,
  });
}


// 获取乙方单位养护人、维修人、整改人下拉列表
// export async function queryMaintainManListForSelect(params) {
//   return request('00020002', {
//     method: 'POST',
//     body: params,
//   });
// }

// 获取甲方单位用户下拉列表
export async function queryUserListForSelect(params) {
  return request('/sys/user/queryUserByUserType', {
    method: 'POST',
    body: params,
  });
}

// 区域选择下拉列表
export async function queryDistrictListForSelect(params) {
  return request('/assembly/sysdistrict/all', {
    method: 'POST',
    body: params,
  });
}


